{cm var="list" uid="'.$userinfo['user_id'].'" page="true" limit="10" status="1" order="cm_addtime desc"}{/cm}
<div class="user-center-title pt-0 pl-0"><h2 class="text-color">我的评论</h2><div class="more pull-right">共<span class="text-color">“<span id="total">{$list->total()}</span>”</span>条数据</div></div>
{notempty name="list"}
  <div class="comment-focus m-0">
  <form id="clearcomm" method="post">
    <ul class="comment-ul" id="list">
{volist name="list" id="zanpian"}
{php}
$info=get_info_find($zanpian['cm_sid'],$zanpian['cm_vid'],$GLOBALS['config']['model'][$zanpian['cm_sid']]['name'].'_id');
$name=$info[$GLOBALS['config']['model'][$zanpian['cm_sid']]['name'].'_name'];
$url=zanpian_read_url('home/'.$GLOBALS['config']['model'][$zanpian['cm_sid']]['name'].'/read',$info);
{/php}
<li>
  <label class='label-checkbox' for='cmt{$zanpian['cm_id']}'>
    <input type='checkbox' name='id[]' value='{$zanpian['cm_id']}' id='cmt{$zanpian['cm_id']}' />
  </label>
  <div class='user-txt-list-cnt'>
    <h5>
    {eq name="zanpian.cm_pid" zanpian="0"}您评论了：
    <span class="name"><a href='{$url}' target='_blank'>【{$GLOBALS['config']['model'][$zanpian['cm_sid']]['title']}】{$name}</a></span>
    {else/}您回复了<span class="user">&nbsp;<a href='{:zanpian_user_url('user/home/index',array('user_id'=>$zanpian['cm_tuid']))}' target='_blank'>{:get_user_info($zanpian['cm_tuid'],'user_id','user_nickname')}</a>&nbsp;</span>在：<span class="name"><a href='{$url}' target='_blank'>【{$GLOBALS['config']['model'][$zanpian['cm_sid']]['title']}】{$name}</a></span><span>的评论</span>
    {/eq}
    </h5>
    <p id='contmedit{$zanpian['cm_id']}'>{eq name="zanpian.cm_status" value="1"}{$zanpian['cm_content']|strip_tags|get_emots}{else/}<span class='text-danger'>【等待管理审核】</span> {/eq}</p>
    <div class='my-list-assit fn-clear'>
      <div class='fn-left'><span class='list-digg'>支持[<strong>{$zanpian.cm_up}</strong>]</span><em>|</em><span class='list-digg'>反对[<strong>{$zanpian.cm_down}</strong>]</span><em>|</em><a class='mdel' href='javascript:void(0)' id='mdel{$zanpian['cm_id']}' data='{:zanpian_user_url('user/center/delcm',array('id'=>$zanpian['cm_id']))}'>删除</a></div>
      <div class='fn-right'><span class='date-time'>{$zanpian['cm_addtime']|time_format='Y-m-d H:i:s',1}</span></div>
    </div>
  </div>
</li>
{/volist}
    </ul>
  </form>
  </div>
    <div class="check-del">
    <label class="label-checkbox" for="checkall" hidefocus="">
    <input type="checkbox" id="checkall" class="delcheckall">全选</label>
    <a class="btn btn-danger btn-xs clearall" href="javascript:;" data="{:zanpian_user_url('user/center/delcm')}">删除</a>
    </div>
  <div class="box-page clearfix ajax-page"><ul>{$list->render()}</ul></div>
{else/}  
<div class="kong">抱歉，没有找到相关内容！</div>  
{/notempty}  